let dotenv = require('dotenv');



function initEnv(pathFullWithName){
    // path.resolve(__dirname, '../../../.env')
    dotenv.config({
        path: (pathFullWithName)
    });

}

/*
* 获取变量 process.
   process.env.host,
         process.env.   user,
           process.env. password,
          process.env.  database
            *
* */

module.exports ={
    initEnv
}
